package org.net.cms.service.payment;

import org.net.cms.controller.app.payment.vo.AppPaymentReqVO;
import org.net.cms.dao.PaymentDto;

import java.util.List;

public interface PaymentService {

    PaymentDto getById(Integer id);

    List<PaymentDto> appGetAll();

    List<PaymentDto> adminGetAll(int type);

    void save(PaymentDto payment);

    void update(AppPaymentReqVO payment);

    void delete(int studentId);
}
